package com.d3.sx_eprotection.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.d3.sx_eprotection.entity.Supervisor;
import com.d3.sx_eprotection.entity.SupervisorMesg;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SupervisorService extends IService<Supervisor> {
    int add(Supervisor supervisor);
    List<Supervisor> getList();
    Map<String, Object> login(Supervisor supervisor);
    Map<String,Object> register(Map<String,Object> supervisor);
}
